<template>
  <div class="app-container" @click="goExam">
    <el-row :gutter="24">
      <el-col :span="24">
        <el-card class="box" @click="goExam">
          <div>
            <div class="containerXT" style="line-height: 32px">
              技术支持：浙江领卓智慧科技有限公司
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import config from '../../../package.json'

export default {
  name: 'Dashboard',
  data() {
    return {
      currentRole: 'adminDashboard',
      version: config.version
    }
  },
  computed: {
    ...mapGetters(['roles', 'siteData'])
  },
  created() {},
  methods: {
    goExam() {
      this.$router.push({
        name: 'PreExam',
        params: { examId: '1887727675627606018' }
      })
    }
  }
}
</script>

<style scoped>
.box {
  height: calc(100vh - 120px);
  font-size: 14px;
  line-height: 28px;
  background-image: url("../../assets/元宵晚会.png");
  width: 100%;
  background-size: cover; /* 确保背景图片覆盖整个元素 */
  background-position: center; /* 确保背景图片居中 */
}
.title {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  padding-top: 20px;
  margin-bottom: 10px;
  border-bottom: #eee 1px dotted;
}

.tags span {
  margin-right: 10px;
}

.box a {
  color: #20a0ff;
}

.box a:hover {
  color: #ff0000;
}
.containerXT {
  background: rgba(255, 255, 255, 0.8); /* 白色背景，半透明 */
  height: 100px;
  width: 80%;
  text-align: center;
  line-height: 100px;
  font-size: 20px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  padding-top: 20px;
}
</style>
